using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.ComponentModel;
using ACME.Northwind.DataTransfer;
using System.Runtime.Serialization;

namespace ACME.Northwind.DataTransfer
{
	/// <summary>
	/// Object data transfer definition for the 'Orders' table
	/// </summary>
	[Serializable()]
	[DataContract()]
	public partial class OrderDTO : IDTO
	{
		#region Class Members

		#region FieldNameConstants Enumeration

		/// <summary>
		/// An enumeration of this object's fields
		/// </summary>
		public enum FieldNameConstants
		{
			 /// <summary>
			 /// Field mapping for the 'ShipVia' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ShipVia' property")]
			ShipVia,
			 /// <summary>
			 /// Field mapping for the 'ShipRegion' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ShipRegion' property")]
			ShipRegion,
			 /// <summary>
			 /// Field mapping for the 'ShipPostalCode' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ShipPostalCode' property")]
			ShipPostalCode,
			 /// <summary>
			 /// Field mapping for the 'ShippedDate' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ShippedDate' property")]
			ShippedDate,
			 /// <summary>
			 /// Field mapping for the 'ShipName' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ShipName' property")]
			ShipName,
			 /// <summary>
			 /// Field mapping for the 'ShipCountry' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ShipCountry' property")]
			ShipCountry,
			 /// <summary>
			 /// Field mapping for the 'ShipCity' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ShipCity' property")]
			ShipCity,
			 /// <summary>
			 /// Field mapping for the 'ShipAddress' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ShipAddress' property")]
			ShipAddress,
			 /// <summary>
			 /// Field mapping for the 'RequiredDate' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'RequiredDate' property")]
			RequiredDate,
			 /// <summary>
			 /// Field mapping for the 'OrderId' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'OrderId' property")]
			OrderId,
			 /// <summary>
			 /// Field mapping for the 'OrderDate' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'OrderDate' property")]
			OrderDate,
			 /// <summary>
			 /// Field mapping for the 'Freight' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'Freight' property")]
			Freight,
			 /// <summary>
			 /// Field mapping for the 'EmployeeId' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'EmployeeId' property")]
			EmployeeId,
			 /// <summary>
			 /// Field mapping for the 'CustomerId' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'CustomerId' property")]
			CustomerId,
			 /// <summary>
			 /// Field mapping for the 'CreatedBy' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'CreatedBy' property")]
			CreatedBy,
			 /// <summary>
			 /// Field mapping for the 'CreatedDate' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'CreatedDate' property")]
			CreatedDate,
			 /// <summary>
			 /// Field mapping for the 'ModifiedBy' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ModifiedBy' property")]
			ModifiedBy,
			 /// <summary>
			 /// Field mapping for the 'ModifiedDate' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ModifiedDate' property")]
			ModifiedDate,
		}

		#endregion

		#endregion

		#region Constructors

		/// <summary>
		/// The default contructor for the Order DTO
		/// </summary>
		public OrderDTO()
		{
		}

		#endregion

		#region Object Properties

		/// <summary>
		/// The CustomerId field
		/// </summary>
		[DataMember()]
		public virtual string CustomerId { get; set; }
		/// <summary>
		/// The EmployeeId field
		/// </summary>
		[DataMember()]
		public virtual int? EmployeeId { get; set; }
		/// <summary>
		/// The Freight field
		/// </summary>
		[DataMember()]
		public virtual decimal? Freight { get; set; }
		/// <summary>
		/// The OrderDate field
		/// </summary>
		[DataMember()]
		public virtual DateTime? OrderDate { get; set; }
		/// <summary>
		/// The OrderId field
		/// </summary>
		[DataMember()]
		public virtual int OrderId { get; set; }
		/// <summary>
		/// The RequiredDate field
		/// </summary>
		[DataMember()]
		public virtual DateTime? RequiredDate { get; set; }
		/// <summary>
		/// The ShipAddress field
		/// </summary>
		[DataMember()]
		public virtual string ShipAddress { get; set; }
		/// <summary>
		/// The ShipCity field
		/// </summary>
		[DataMember()]
		public virtual string ShipCity { get; set; }
		/// <summary>
		/// The ShipCountry field
		/// </summary>
		[DataMember()]
		public virtual string ShipCountry { get; set; }
		/// <summary>
		/// The ShipName field
		/// </summary>
		[DataMember()]
		public virtual string ShipName { get; set; }
		/// <summary>
		/// The ShippedDate field
		/// </summary>
		[DataMember()]
		public virtual DateTime? ShippedDate { get; set; }
		/// <summary>
		/// The ShipPostalCode field
		/// </summary>
		[DataMember()]
		public virtual string ShipPostalCode { get; set; }
		/// <summary>
		/// The ShipRegion field
		/// </summary>
		[DataMember()]
		public virtual string ShipRegion { get; set; }
		/// <summary>
		/// The ShipVia field
		/// </summary>
		[DataMember()]
		public virtual int? ShipVia { get; set; }
		/// <summary>
		/// The CreatedDate field
		/// </summary>
		[DataMember()]
		public virtual DateTime? CreatedDate { get; set; }
		/// <summary>
		/// The CreatedBy field
		/// </summary>
		[DataMember()]
		public virtual string CreatedBy { get; set; }
		/// <summary>
		/// The ModifiedDate field
		/// </summary>
		[DataMember()]
		public virtual DateTime? ModifiedDate { get; set; }
		/// <summary>
		/// The ModifiedBy field
		/// </summary>
		[DataMember()]
		public virtual string ModifiedBy { get; set; }

		#endregion

	}

}
